projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77ff699
)
Make symbolic icons work again
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 17 Jan 2011 14:57:35 +0000
(09:57 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 17 Jan 2011 14:57:35 +0000
(09:57 -0500)
Work around https://bugzilla.gnome.org/show_bug.cgi?id=639750
gtk/gtkicontheme.c
patch
|
blob
|
history
diff --git
a/gtk/gtkicontheme.c
b/gtk/gtkicontheme.c
index 7a32269f2ec13b65d84ef644da3555865407d467..cfce79f7431c4537a16557a78801a0fc541e9415 100644
(file)
--- a/
gtk/gtkicontheme.c
+++ b/
gtk/gtkicontheme.c
@@
-3071,11
+3071,11
@@
gdk_color_to_css (GdkColor *color)
static gchar *
gdk_rgba_to_css (GdkRGBA *color)
{
- return g_strdup_printf ("rgba(%d,%d,%d,%f)",
+ /* drop a for now, since librsvg does not understand rgba() */
+ return g_strdup_printf ("rgb(%d,%d,%d)",
(gint)(color->red * 255),
(gint)(color->green * 255),
- (gint)(color->blue * 255),
- color->alpha);
+ (gint)(color->blue * 255));
}
static GdkPixbuf *